package com.kandroid.designpattern.state.demo2.states;

import com.kandroid.designpattern.state.demo2.ATMAction;
import com.kandroid.designpattern.state.demo2.ATMState;
import com.kandroid.designpattern.state.demo2.BaseStateClass;

import java.util.Arrays;
import java.util.List;

public class DecodingState extends BaseStateClass {
    public DecodingState(ATMAction atmAction) {
        super(atmAction);
    }

    @Override
    protected List<String> getSupportedActions() {
        return Arrays.asList(ACTION_INPUT_MONEY);
    }

    @Override
    public String getName() {
        return ATMState.STATE_DECODING;
    }
}
